﻿namespace System.Data.Entity.Utilities
{
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data.Entity.Core.Common;

    internal static class DbProviderManifestExtensions
    {
        internal static IEnumerable<ParameterDescriptor> CreateParameterDescriptor(this DbProviderManifest providerManifest, string name, Type clrType)
        {
            return new ParameterDescriptor[] { new ParameterDescriptor(name, clrType, providerManifest) };
        }
    }
}
